package com.aiti.lulian.mapper;

import com.aiti.base.core.base.mapper.SuperMapper;
import com.aiti.lulian.dto.CustomerContactsDto;
import com.aiti.lulian.entity.CustomerContacts;
import com.aiti.lulian.vo.CustomerContactsVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CustomerContactsMapper extends SuperMapper<CustomerContacts> {
    List<CustomerContactsVo> selectContactsList(Page page, @Param("dto") CustomerContactsDto dto);

    CustomerContactsVo detailInfo(String baseId);

    List<CustomerContacts> getContactListByCustomerId(@Param("customerId") String customerId);
}